<?php get_header(); ?>

		<div id="container" class="container">
			<div id="content" class="content bg_white" role="main">
				<div class = "search_header">
					<?php printf( 'Search Results for: %s', '<span>' . get_search_query() . '</span>' ); ?>
				</div>
		
			<?php if ( have_posts() ) { ?>
				
						<div class = "search_result">							
							<ul>
							<?php 
								$excerptNumber = 120;
								$width = 150;
								$height = 100;						
								$search_post_type = array('page','news','featured_programs');
								while (have_posts()){
									the_post();
									$post_id =  get_the_ID();
									$post_type = get_post_type();
									if (!in_array($post_type, $search_post_type)) continue;
									$permalink = get_permalink($post_id);
									$title = get_the_title($post_id);
									$theExcerpt = get_the_excerpt();
							?>
								<li>
									<div class = "search_content">								
										<div class = "search_title"><a href = "<?php echo $permalink;?>" target="_blank"><?php echo $title;?></a></div>
										<div class = "search_excerpt"><?php echo $theExcerpt;?></div>
									</div>
								</li>
							<?php }?>
							</ul>
						</div>

			<?php }else { ?>

					<div class = "notice_zone">
						Sorry, but nothing matched your search criteria. Please try again with some different keywords.
					</div>

			<?php } ?>

			</div><!-- #content -->
		</div><!-- #container -->
<?php get_footer(); ?>